package org.test.aop;

import org.springframework.aop.AfterReturningAdvice;
import org.springframework.lang.Nullable;

import java.lang.reflect.Method;

/**
 * Created by Hy on 2018/7/6.
 * 后置增强类
 */
public class GreetingAfterAdvice implements AfterReturningAdvice{
    public void afterReturning(@Nullable Object o, Method method, Object[] orgs, @Nullable Object target) throws Throwable {
        System.out.println("After");
    }
}
